stylecontext: Split out functionality into custom object
authorBenjamin Otte <otte@redhat.com>
Sat, 18 Oct 2014 03:45:21 +0000 (05:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 21 Oct 2014 01:03:28 +0000 (03:03 +0200)
commit5c2c65912200789c3edd9c574d619b65e398ccb2
tree5893129e4ecd41bdba2bed62d2b7021accac5cb7
parent4cbc0191cbf9412eb96e25f5e75dfe6516c8ceea
stylecontext: Split out functionality into custom object

GtkCssNodeDeclaration is a new struct with copy-on-write semantics.

It encapsulated the properties used to define a node in the CSS tree.

The idea is to use it in various places for caching, in particular as
key in hash tables.
gtk/Makefile.am
gtk/gtkcssnodedeclaration.c [new file with mode: 0644]
gtk/gtkcssnodedeclarationprivate.h [new file with mode: 0644]
gtk/gtkstylecontext.c